import React, {Component} from 'react';
import {withRouter, Link, Switch, Route} from 'react-router-dom'
import {Input} from 'antd';

import "./../../static/personal/accountInfo.styl"
import Loading from "./../loading"
import u from "../../common";

export default class AccountInfo extends React.Component {
  state={
    data:{}
  };
  /*accountInfo() {
    u.userInfo(data => {
      console.log(data)
    });
  }
  componentDidMount() {
    this.accountInfo();
  }*/
  render() {
    return (
      <div style={{margin: "41px 31px"}}>
        <Loading/>
        <div className="a-line">
          <span>账户：</span>
          <Input disabled={true} value="Admin"/>
        </div>
        <div className="a-line">
          <span>密码：</span>
          <Input type="password" disabled={true} value="123456"/>
        </div>
        <div className="a-btn"><Link to="step1" style={{color:"white"}}>找回密码</Link></div>
      </div>
    );
  }
}